package com.longdaji.decoration.ui.activitiesOfCommunity.publishDynamic.addTopic;

import com.longdaji.decoration.base.RxPresenter;
import com.longdaji.decoration.data.DataManager;

import javax.inject.Inject;

/**
 * Created by Kanade on 2018/3/6 0006.
 */

public class AddTopicPresenter extends RxPresenter<AddTopicContract.View> implements AddTopicContract.Presenter {
    private DataManager mDataManager;

    @Inject
    public AddTopicPresenter(DataManager dataManager) {
        mDataManager = dataManager;
    }

    @Override
    public void onFinishClick(String searchContent) {
    }

    @Override
    public void onAfterTextChanged(String str) {
        if (str.length() == 0) {
            mView.showDeleteInvisible();
        } else {
            mView.showDeleteVisible();
        }
    }
}
